Moloni\Controllers\Documents B

Total Complexity 91
Dependencies 10
Dependents 3
Total lines 723
Lines of code 394
Logical lines of code 237
Comment lines 138
Methods 21
Properties 35

Methods 21

Method Rating Maintainability Complexity Lines of code
createDocument()
A
38 11 68
getDocumentTypeName()
A
52 8 27
setShippingInfo()
S
49 7 28
getLoadAddress()
S
53 7 23
mapPropsToValues()
S
46 5 38
setPaymentMethod()
S
54 6 21
setFiscalZone()
S
56 5 19
setExchangeRate()
S
59 5 13
checkForWarnings()
S
59 5 12
showDocument()
S
54 4 20
setNotes()
S
62 4 11
sendOldEmail()
S
44 1 46
getDocumentSetId()
S
69 3 6
setFees()
S
63 3 10
setShipping()
S
67 3 7
downloadDocument()
S
57 2 15
setProducts()
S
63 3 10
__construct()
S
65 3 8
getError()
S
80 2 3
isReferencedInDatabase()
S
79 2 3
getDocumentId()
S
71 2 6